<template>
  <view class="approval-item">
    <CommonHeader>选择待销项</CommonHeader>
    <view class="approval-content">
      <view class="my-approval-list">
        <view
          class="notification-item"
          v-for="item in destroyList"
          :key="item.processId"
          @click="getId(item.processId)"
        >
          <view class="notice-logo">
            <img :src="switchApprovalLogo(item.processName)" />
          </view>
          <view class="notice-title"> {{ item.processName }}申请 </view>
          <view class="notice-desc">
            {{ formDateIOS(item.createTime).split(' ')[0] }}提交{{
              item.processName
            }}申请，{{ selectStateList[Number(item.processState)] }}
          </view>
          <view class="notice-time">
            {{ formDateIOS(item.createTime) }}
          </view>
        </view>
      </view>
    </view>
  </view>
</template>
<script src="./script.js"></script>
<style lang="less" src="./style.less"></style>
